* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
body {
    width: 100%;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

#app {
    position: relative;
}
ul.stacks {
    position: absolute;
    display: flex;
    width: 100%;

}
li {
    flex: 1;
    height: 100vh;
    background-color: rgb(174, 174, 174);
    background: url("https://t.mwm.moe/ysz");
    background-size: auto 100%;
    overflow: hidden;
    transition: 1s transform ease-in-out;
}
ul.stacks li {
    @for $i from 1 through 10 {
      &:nth-child(#{$i}) {
        background-position-x: calc(#{$i - 1} * -100%);
        transition-delay: calc(#{$i} * .06s);
      }
    }
  }

  ul.stacks:hover li {
    transform: translatey(-100vh);
  }

  .content {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }